home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / System Software / QuickTime 1.5 / Interfaces / ImageCodec.a < prev    next >
Encoding:
Text File  |  1992-10-20  |  3.3 KB  |  133 lines  |  [TEXT/MPS ]

  1. ;
  2. ;
  3. ;Created: Friday, September 27, 1991 10:04:39 AM
  4. ; ImageCodec.a
  5. ; Assembler Interface to the Macintosh Libraries
  6. ;
  7. ;
  8. ; Copyright Apple Computer, Inc. 1991
  9. ; All rights reserved
  10.  
  11.  IF &TYPE('__IncludingImageCodec__') = 'UNDEFINED' THEN
  12. __IncludingImageCodec__   SET 1
  13.  
  14.  
  15.  
  16. ;    codec component selectors    
  17. ;    codec selectors 0-127 are reserved by Apple 
  18. ;    codec selectors 128-191 are subtype specific 
  19. ;    codec selectors 192-255 are vendor specific 
  20. ;    codec selectors 256-32767 are reserved by Apple 
  21. ;    negative selectors are reserved by the Component Manager 
  22.  
  23.  
  24. codecGetCodecInfo                    EQU $00
  25. codecGetCompressionTime                EQU $01
  26. codecGetMaxCompressionSize            EQU $02
  27. codecPreCompress                    EQU $03
  28. codecBandCompress                    EQU $04
  29. codecPreDecompress                    EQU $05
  30. codecBandDecompress                    EQU $06
  31. codecCDSequenceBusy                    EQU $07
  32. codecGetCompressedImageSize            EQU $08
  33. codecGetSimilarity                    EQU $09
  34. codecTrimImage                        EQU $0a
  35.  
  36.  
  37.  
  38.  
  39.  
  40. ;    codec capabilities flags    
  41.  
  42. codecCanScale                        EQU $1
  43. codecCanMask                        EQU $2
  44. codecCanMatte                        EQU $4
  45. codecCanTransform                    EQU $8
  46. codecCanTransferMode                EQU $10
  47. codecCanCopyPrev                    EQU $20
  48. codecCanSpool                        EQU $40
  49. codecCanClipVertical                EQU $80
  50. codecCanClipRectangular                EQU $100
  51. codecCanRemapColor                    EQU $200
  52. codecCanFastDither                    EQU $400
  53. codecCanSrcExtract                    EQU $800
  54. codecCanCopyPrevComp                EQU $1000
  55. codecCanAsync                        EQU $2000
  56. codecCanMakeMask                    EQU $4000
  57. codecCanShift                        EQU $8000
  58.  
  59.  
  60.  
  61. codecConditionFirstBand                EQU $1
  62. codecConditionLastBand                EQU $2
  63. codecConditionCodecChangedMask        EQU $80000000
  64.  
  65. codecInfoResourceType    EQU    'cdci'    ;codec info resource type 
  66.  
  67.  
  68.  
  69. CodecCapabilitiesRecord     RECORD        0
  70.     flags                DS.L        1
  71.     wantedPixelSize        DS.W        1
  72.     extendWidth            DS.W        1
  73.     extendHeight        DS.W        1
  74.     bandMin                DS.W        1
  75.     bandInc                DS.W        1
  76.     pad                    DS.W        1
  77.     time                DS.W        1
  78.     size                EQU    *
  79.                         ENDR
  80.  
  81. CodecCompressParams         RECORD 0
  82.     sequenceID                 DS.L    1        ; precompress,bandcompress 
  83.     imageDescription        DS.L    1        ; precompress,bandcompress 
  84.     data                     DS.L    1
  85.     bufferSize                DS.L    1
  86.     frameNumber                DS.L    1
  87.     startLine                DS.L    1
  88.     stopLine                DS.L    1
  89.     conditionFlags            DS.L    1
  90.     callerFlags                DS.W    1
  91.     capabilities             DS.L    1        ; precompress,bandcompress 
  92.     progressProcRecord        DS.L    2
  93.     completionProcRecord    DS.L    2    
  94.     flushProcRecord            DS.L    2
  95.     srcPixMap                  DS.W    25        ; precompress,bandcompress 
  96.     prevPixMap                 DS.W    25    
  97.     spatialQuality             DS.L    1
  98.     temporalQuality            DS.L    1
  99.     similarity                 DS.L    1
  100.     reserved:                DS.L    2    
  101.     size                    EQU    *
  102.                             ENDR
  103.  
  104. CodecCompressParams         RECORD 0
  105.     sequenceID                DS.L    1            ; predecompress,banddecompress 
  106.     imageDescription         DS.L    1            ; predecompress,banddecompress 
  107.     data                     DS.L    1
  108.     bufferSize                 DS.L    1
  109.     frameNumber                DS.L    1
  110.     startLine                 DS.L    1
  111.     stopLine                 DS.L    1
  112.     conditionFlags             DS.L    1
  113.     callerFlags             DS.W    1
  114.     capabilities             DS.L    1            ; predecompress,banddecompress 
  115.     progressProcRecord         DS.L    2
  116.     completionProcRecord     DS.L    2
  117.     dataProcRecord             DS.L    2
  118.     port                     DS.L    1            ; predecompress,banddecompress 
  119.     dstPixMap                 DS.W    25            ; predecompress,banddecompress 
  120.     maskBits                 DS.L    1
  121.     mattePixMap             DS.L    1
  122.     srcRect                 DS.W    4            ; predecompress,banddecompress 
  123.     matrix                     DS.L    1            ; predecompress,banddecompress 
  124.     accuracy                 DS.L    1            ; predecompress,banddecompress 
  125.     transferMode             DS.W    1            ; predecompress,banddecompress 
  126.     reserved                 DS.L    2                
  127.     size                    EQU    *
  128.                             ENDR
  129.  
  130.  
  131.  
  132. #endif    __IMAGECODEC__
  133.